home *** CD-ROM | disk | FTP | other *** search
/ Sunday Savers: Singing Fun! / Sunday Savers: Singing Fun!.iso / mac / Xtras / Buddy API 1.6 / Buddy API Docs.swf / texts / 1562.txt < prev    next >
Encoding:
Text File  |  2004-08-31  |  1.9 KB  |  81 lines

  1. 143
  2. --- RECORDSEPARATOR ---
  3.  
  4. --- RECORDSEPARATOR ---
  5. GetDisk 
  6. --- RECORDSEPARATOR ---
  7. Platform:
  8. --- RECORDSEPARATOR ---
  9.  
  10. --- RECORDSEPARATOR ---
  11. Windows
  12. --- RECORDSEPARATOR ---
  13.  
  14. --- RECORDSEPARATOR ---
  15. Description:
  16. --- RECORDSEPARATOR ---
  17.  
  18. --- RECORDSEPARATOR ---
  19. baGetDisk displays a disk dialog box and returns the folder selected.
  20. --- RECORDSEPARATOR ---
  21.  
  22. --- RECORDSEPARATOR ---
  23. Usage:
  24. --- RECORDSEPARATOR ---
  25.  
  26. --- RECORDSEPARATOR ---
  27. Result = baGetDisk( Disk, Instruction, Flags, X, Y )
  28. --- RECORDSEPARATOR ---
  29.  
  30. --- RECORDSEPARATOR ---
  31. Arguments:
  32. --- RECORDSEPARATOR ---
  33.  
  34. --- RECORDSEPARATOR ---
  35. String, string, integer, integer, integer. 
  36. --- RECORDSEPARATOR ---
  37. Disk is the initial disk to be selected in the dialog. 
  38. --- RECORDSEPARATOR ---
  39. Instruction is the instruction to display to the user. 
  40. --- RECORDSEPARATOR ---
  41. Flags modifies the behaviour of the dialog. 
  42. --- RECORDSEPARATOR ---
  43. X and Y are the position of the dialog.
  44. --- RECORDSEPARATOR ---
  45.  
  46. --- RECORDSEPARATOR ---
  47. Returns:
  48. --- RECORDSEPARATOR ---
  49.  
  50. --- RECORDSEPARATOR ---
  51. String. 
  52. --- RECORDSEPARATOR ---
  53. Returns the name of the disk selected.
  54. --- RECORDSEPARATOR ---
  55.  
  56. --- RECORDSEPARATOR ---
  57. Examples:
  58. --- RECORDSEPARATOR ---
  59.  
  60. --- RECORDSEPARATOR ---
  61. Director: 
  62. --- RECORDSEPARATOR ---
  63. disk = baGetDisk( "c:\", "Select a disk", 0, 50, 50 ) 
  64. --- RECORDSEPARATOR ---
  65. Authorware: 
  66. --- RECORDSEPARATOR ---
  67. disk := baGetDisk( "c:\\", "Select a disk", 0, 50, 50 )
  68. --- RECORDSEPARATOR ---
  69.  
  70. --- RECORDSEPARATOR ---
  71. Notes:
  72. --- RECORDSEPARATOR ---
  73.  
  74. --- RECORDSEPARATOR ---
  75. No flags are currently defined. 
  76. --- RECORDSEPARATOR ---
  77. The X and Y arguments specify the position of the dialog in screen pixels. Set X to 
  78. --- RECORDSEPARATOR ---
  79. -2 to center the dialog on the screen. Centering the dialog on the stage is not 
  80. --- RECORDSEPARATOR ---
  81. implemented. Using -3 will position the dialog at the position  it was last displayed.